home *** CD-ROM | disk | FTP | other *** search
- global gdirmovie, listMTH, gAnsListNo, gMovNo, gPalNo, FlyList, xPal
-
- on startMovie
- if the machineType = 256 then
- openXLib("XPALETTE.dll")
- set xPal to XPALETTE(mnew)
- set gBlack to 255
- set gHighlight to 28
- else
- openXLib("XPALETTE")
- set xPal to fixPalette(mnew, the stageLeft, the stageTop, the stageRight, the stageBottom)
- end if
- set gdirmovie to "FlyBox2.dir"
- set FlyList to list()
- end
-
- on patchPal
- xPal(mPatchIt)
- end
-
- on playVid VidNo, SprNo, SprNo2
- set currentMovie to VidNo
- set the castNum of sprite SprNo to SprNo2
- updateStage()
- repeat with i = 1 to 48
- puppetSprite(i, 0)
- end repeat
- set gMovNo to VidNo
- set gPalNo to VidNo + 20
- go(1, "flyBox1.dir")
- end
-
- on setAnsList
- global listMTH, gAnsListNo
- if gAnsListNo = 1 then
- set listMTH to list("MTH_001.PIC", "10.TXT", "3Stimu.pict", "Stimu.pict", "16.1.TXT", "3roywul.pict", "22.TXT", "3ELK.PICT", "26.TXT")
- end if
- if gAnsListNo = 2 then
- set listMTH to list("MTH_002.PIC", "10.TXT", "3Stimu.pict", "Stimu.pict", "16.1.TXT", "3roywul.pict", "21.TXT", "3ELK.PICT", "26.TXT")
- end if
- if gAnsListNo = 3 then
- set listMTH to list("MTH_003.PIC", "9.TXT", "3kaufst.pict", "kaufst.pict", "14.1.TXT", "3prince.pict", "20.2.TXT", "3hare.pict", "26.TXT")
- end if
- if gAnsListNo = 4 then
- set listMTH to list("MTH_004.PIC", "9.TXT", "3kaufst.pict", "kaufst.pict", "15.1.TXT", "3prince.pict", "21.TXT", "3hare.pict", "26.TXT")
- end if
- if gAnsListNo = 5 then
- set listMTH to list("MTH_005.PIC", "7.TXT", "3roywul.pict", "roywul.pict", "18.1.TXT", "3elk.pict", "23.TXT", "3prince.pict", "26.TXT")
- end if
- if gAnsListNo = 6 then
- set listMTH to list("MTH_006.PIC", "7.TXT", "3roywul.pict", "roywul.pict", "18.1.TXT", "3elk.pict", "23.TXT", "3prince.pict", "26.TXT")
- end if
- if gAnsListNo = 7 then
- set listMTH to list("MTH_007.PIC", "6.TXT", "3ant.pict", "drwnant.pict", "17a.TXT", "3grass.pict", "17.TXT", "3prince.pict", "26.TXT")
- end if
- if gAnsListNo = 8 then
- set listMTH to list("MTH_008.PIC", "6.TXT", "3grass.pict", "GrssHppr.pict", "17.TXT", "3ant.pict", "17a.TXT", "3roywul.pict", "26.TXT")
- end if
- if gAnsListNo = 9 then
- set listMTH to list("MTH_009.PIC", "5.TXT", "3hare.pict", "hare.pict", "16.2.TXT", "3cad.pict", "25.TXT", "3olive.pict", "26.TXT")
- end if
- if gAnsListNo = 10 then
- set listMTH to list("MTH_010.PIC", "4.TXT", "3cad.pict", "cadpupa.pict", "15.2.TXT", "3olive.pict", "21.TXT", "3hare.pict", "26.TXT")
- end if
- if gAnsListNo = 11 then
- set listMTH to list("MTH_011.PIC", "3.TXT", "3elk.pict", "Elk_hair.pict", "16.3.TXT", "3adams.pict", "20.1.TXT", "3roywul.pict", "22.TXT")
- end if
- if gAnsListNo = 12 then
- set listMTH to list("MTH_012.PIC", "3.TXT", "3elk.pict", "Elk_hair.pict", "16.3.TXT", "3adams.pict", "20.1.TXT", "3roywul.pict", "22.TXT")
- end if
- if gAnsListNo = 13 then
- set listMTH to list("MTH_013.PIC", "2.TXT", "3phe.pict", "Phstl.pict", "15.3.TXT", "3hare.pict", "20.3.TXT", "3prince.pict", "22.TXT")
- end if
- if gAnsListNo = 14 then
- set listMTH to list("MTH_014.PIC", "2.TXT", "3phe.pict", "Phstl.pict", "15.3.TXT", "3olive.pict", "21.TXT", "3prince.pict", "22.TXT")
- end if
- if gAnsListNo = 15 then
- set listMTH to list("MTH_015.PIC", "1.TXT", "3adams.pict", "Adams.pict", "16.4.TXT", "3elk.pict", "20.4.TXT", "3roywul.pict", "22.TXT")
- end if
- if gAnsListNo = 16 then
- set listMTH to list("MTH_016.PIC", "1.TXT", "3adams.pict", "Adams.pict", "14.2.TXT", "3elk.pict", "21.TXT", "3roywul.pict", "22.TXT")
- end if
- if gAnsListNo = 17 then
- set listMTH to list("MTH_017.PIC", "8.TXT", "3prince.pict", "Prince1.pict", "18.2.TXT", "3hare.pict", "23.TXT", "3roywul.pict", "22.TXT")
- end if
- if gAnsListNo = 18 then
- set listMTH to list("MTH_018.PIC", "8.TXT", "3prince.pict", "Prince1.pict", "18.2.TXT", "3hare.pict", "23.TXT", "3roywul.pict", "22.TXT")
- end if
- if gAnsListNo = 19 then
- set listMTH to list("MTH_019.PIC", "11.TXT", "3wbugg.pict", "Wbugger.pict", "19.TXT", "3prince.pict", "24.TXT", "3kaufst.pict", "26.TXT")
- end if
- if gAnsListNo = 20 then
- set listMTH to list("MTH_020.PIC", "12.TXT", "3cad.pict", "Cadpupa.pict", "15.2.TXT", "3olive.pict", "21.TXT", "nothing.pict", "0.TXT")
- end if
- if gAnsListNo = 21 then
- set listMTH to list("MTH_021.PIC", "12.TXT", "3cad.pict", "Cadpupa.pict", "15.2.TXT", "3olive.pict", "21.TXT", "nothing.pict", "0.TXT")
- end if
- if gAnsListNo = 22 then
- set listMTH to list("MTH_022.PIC", "13.TXT", "3olive.pict", "olive.pict", "15.4.TXT", "3cad.pict", "21.TXT", "nothing.pict", "0.TXT")
- end if
- if gAnsListNo = 23 then
- set listMTH to list("MTH_023.PIC", "13.TXT", "3olive.pict", "olive.pict", "15.4.TXT", "3cad.pict", "21.TXT", "nothing.pict", "0.TXT")
- end if
- end
-